//
//  SLDeployRecomViewModel.h
//  StarLight
//
//  Created by 吴涛 on 16/6/5.
//  Copyright © 2016年 Duke.Wu. All rights reserved.
//

#import <Foundation/Foundation.h>


typedef void(^DeleRecomBlock)(void);

@interface SLDeployRecomViewModel : NSObject

@property (nonatomic, strong) NSMutableArray *recomList;

@property (nonatomic, assign) NSInteger type;


/**
 *  推荐货源初始化
 *
 *  @param bid 船舶id
 *
 */
- (instancetype)initWithBid:(NSString *)bid;

/**
 *  推荐船舶初始化
 *
 *  @param gid 货源id
 *
 */
- (instancetype)initWithGid:(NSString *)gid;


- (void)deleteShipWithBid:(NSString *)bid block:(DeleRecomBlock)block;
- (void)deleteGoodsWithGid:(NSString *)gid block:(DeleRecomBlock)block;

- (void)deleteAllShipWithGid:(NSString *)gid block:(DeleRecomBlock)block;
- (void)deleteAllGoodsWithbid:(NSString *)bid block:(DeleRecomBlock)block;


- (void)next;

- (void)first;


@end
